#ifndef REGISTERFACE_H
#define REGISTERFACE_H

#include <QWidget>
#include <QCoreApplication>
#include <QFile>
#include <QDebug>
#include <QMessageBox>
#include <QCloseEvent>

namespace Ui {
class registerface;
}

class registerface : public QWidget
{
    Q_OBJECT

public:
    explicit registerface(QWidget *parent = nullptr);
    ~registerface();

signals:
    /* 注册界面关闭信号 */
    void close();

protected:
    /* 注册界面关闭事件 */
    void closeEvent(QCloseEvent *event);

private slots:
    /* 点击确定按钮 */
    void on_sureBtn_clicked();

    /* 点击取消按钮 */
    void on_cancelBtn_clicked();

private:
    Ui::registerface *ui;

    QString m_dir;
};

#endif // REGISTERFACE_H
